package com.neuedu.service;

import com.neuedu.dao.ILoginDao;
import com.neuedu.dao.LoginDaoImpl;
import com.neuedu.pojo.Admin;

public class LoginServiceImpl implements ILoginService {
    private static final ILoginDao loginDao = new LoginDaoImpl();

    @Override
    public Admin login(Admin admin) {
        System.out.println(loginDao.login(admin));
        return loginDao.login(admin);
    }
}
